package cn.wzvtc.soft14.domian;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by asus on 2016/6/14.
 */
@Entity
public class teacher {
    @Id
    private String id;

    private String teacherId;
    private String name;
    private boolean instructor;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isInstructor() {
        return instructor;
    }

    public void setInstructor(boolean instructor) {
        this.instructor = instructor;
    }
}
